﻿<Window x:Class="ImmlPad.UpdateManagement.UpdateWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Newer version available" Height="125" Width="350"
        WindowStyle="ToolWindow"
        x:Name="This">
    <Grid>
        <StackPanel Margin="5">
            <StackPanel Orientation="Horizontal" Height="23">
                <TextBlock Text="Downloading version "/>
                <TextBlock Text="{Binding ElementName=This, Path=Version}" />
                <TextBlock Text=" of ImmlPad" />
            </StackPanel>
            
            <ProgressBar Value="{Binding ElementName=This,Path=DownloadProgress}" Height="20"/>
        </StackPanel>
        <Button IsDefault="True" IsCancel="True" Content="Cancel" Height="23" Width="73" Click="Close_Click"  VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="5"/>
    </Grid>
</Window>
